package com.panfeng.xcloud.boss.provider.assets.web.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "获取全部的交易对列表响应")
public class GetSysOpeningQuantBotListRespVO {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("选中")
    private Boolean select;

    @ApiModelProperty("用户账户ID")
    private String userId;

    @ApiModelProperty("合约交易对")
    private String contractCode;

    @ApiModelProperty("图标地址")
    private String url;

    @ApiModelProperty("交易对目的币种")
    private String destinationCoin;

    @ApiModelProperty("交易对源币种")
    private String sourceCoin;

    @ApiModelProperty("交易所类型(0.okex 1.huobi 2.binance)")
    private Integer exchangeType;

    @ApiModelProperty("策略类型 0:循环 1:单次")
    private Integer strategyType;

    @ApiModelProperty("补仓次数")
    private Integer coverTime;

    @ApiModelProperty("逆向加仓次数")
    private Integer antiCoverTime;

    @ApiModelProperty("涨跌")
    private BigDecimal rate;

    @ApiModelProperty("数量")
    private BigDecimal amount;

    @ApiModelProperty("浮盈亏")
    private BigDecimal floatProfit;

    @ApiModelProperty("多空方向(buy:多单 sell:空单)")
    private String direction;

    @ApiModelProperty("杠杆倍数")
    private Integer leverRate;

    @ApiModelProperty("是否锁仓 true:锁仓 false:未锁仓")
    private boolean lock;

    @ApiModelProperty("当前对冲仓数量")
    private BigDecimal offSetAmount;

}
